@extends('layout.admin')
@section('title')
<title>支付方式添加</title>
@endsection
@section('content')
@if(count($errors)>0)
<div class="alert alert-danger">
	出错啦哦!!!
	@foreach($errors->all() as $error)
	<button type="button" class="close" data-dismiss="alert">×</button>
	<strong>{{$error}}</strong>
	@endforeach
</div>
@endif
  <div class="row"> 
   <div class="col-xs-12"> 
    <div class="panel"> 
     <div class="panel-heading bk-bg-primary"> 
      <h6><i class="fa fa-indent red"></i>支付方式添加</h6> 
      <div class="panel-actions"> 
       <a class="btn-setting" href="#"><i class="fa fa-rotate-right black"></i></a> 
       <a class="btn-minimize" href="#"><i class="fa fa-chevron-up black"></i></a> 
       <a class="btn-close" href="#"><i class="fa fa-times black"></i></a> 
      </div> 
     </div> 
     <div class="panel-body bk-bg-white bk-padding-top-30 bk-padding-bottom-20"> 
      <form action="/payment" method="post" enctype="multipart/form-data" class="form-horizontal form-bordered"> 
       <div class="form-group"> 
        <label class="col-md-3 control-label">支付方式名称</label> 
        <div class="col-md-6"> 
         <div class="input-group"> 
          <span class="input-group-addon"> <i class="fa fa-"></i> </span> 
          <input class="form-control" type="text" name="name" placeholder="支付方式名称"/> 
         </div> 
        </div> 
       </div> 
		<div class="form-group">
		 <label class="col-md-3 control-label"></label>
			<div class="col-md-6 col-xs-11">
				{{csrf_field()}}
				<button type="submit" class="btn btn-sm btn-info">添加</button>
				<button type="submit" class="btn btn-sm btn-danger">重置</button>
			</div>
		</div>
      </form> 
     </div> 
    </div> 
   </div> 
  </div>
 </body>
</html>

@endsection
